#include <stdio.h>

int main(void)
{
    int num, a, b;

    printf("Enter a two-digit number: ");
    scanf("%d", &num);

    a = num / 10;
    b = num % 10;

    switch (a) {
    case 1:     printf("one");          break;
    case 2:     printf("twenty-");      break;
    case 3:     printf("thirty-");      break;
    default:    printf("forty-");       break;
    }

    switch (b)
    {
    case 1:
        printf("one");
        break;
    case 2:
        printf("two");
        break;
    case 3:
        printf("three");
        break;
    default:
        break;
    }

    return 0;
}